package com.ulic.customerManApplication.studentmodule.dao;

import java.util.List;

import com.ulic.customerManApplication.pager.PagerModel;
import com.ulic.customerManApplication.studentmodule.bo.Student;
import com.ulic.customerManApplication.studentmodule.vo.StudentVO;
import com.ulic.customerManApplication.usermodule.bo.User;

public interface StudentDao {

    public PagerModel getStudents(int curPage);
   
    public List<Student> getStudents(User user);
    
    public PagerModel getStudents(StudentVO studentVO,int curPage);
    
    public PagerModel getStudents(StudentVO studentVO,int curPage,int totalNum);
	
	public Student getStudent(int id);
	
	public void insertStudent(Student student) throws Exception;
	
	public void insertStudents(List<Student> students) throws Exception;
	
	public void deleteStudent(Student student) throws Exception;
	
	public void updateStudent(Student student) throws Exception;
}
